public class Teacher{
  static double dicost=1.0;//电费单价
  static double shcost=1.0;//水费单价
  private  String uid;
  private  String na;
  private  String ge;
  private  String ag;
  private  String add;
  private  double usedi;
  private  double usesh;
  public Teacher() {};
  public Teacher(String uid,String na,String ge,String ag,String add,Double usedi,Double usesh) {
    this.uid=uid;
    this.na=na;
    this.ge=ge;
    this.ag=ag;
    this.add=add;
    this.usedi=usedi;
    this.usesh=usesh;
  }
  public String getUid()
  {
    return uid;
  }
  public void setUid(String uid)
  {
    this.uid=uid;
  }
  public String getNa()
  {
    return na;
  }
  public void setNa(String na)
  {
    this.na=na;
  }
  public String getGe()
  {
    return ge;
  }
  public void setGe(String ge)
  {
    this.ge=ge;
  }
  public String getAg()
  {
    return ag;
  }
  public void setAg(String ag)
  {
    this.ag=ag;
  }
  public String getAdd()
  {
    return add;
  }
  public void setAdd(String add)
  {
    this.add=add;
  }
   public double getUsedi()
  {
    return usedi;
  }
  public void setUsedi(Double usedi)
  {
    this.usedi=usedi;
  }
   public double getUsesh()
  {
    return usesh;
  }
  public void setUsesh(Double usesh)
  {
    this.usesh=usesh;
  }
  public double df() {//计算水电费
    return usedi*dicost;
  }
  public double sf() {
    return usesh*shcost;
  }
  public String qdf(){//判断欠水电费
    if(df()>0){
      return "是";
    }else{
      return "否";
    }
  }
  public String qsf(){
    if(sf()>0){
      return "是";
    }else{
      return "否";
    }
  }
}